<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .box{
      perspective:1000px;
      position: relative;
      width:500px;
      height:404px;
      margin: 100px auto;
    }
    .box img{
      width:100%;
      height: 100%;
    }
    .box>div{
      position: absolute;
      border:solid #000;
      transition:all 0.5s;
      width:248px;
      height: 400px;
      background-color: rgb(163, 12, 12);
    }
    .box>div.left{
      transform-origin:left;
      border-width:2px 2px 2px 2px;
      top:0;
      left: 0;;
    }
    .box>div.right{
      transform-origin: right;
      border-width:2px 2px 2px 2px;
      top:0;
      right:0;
    }
    .box:hover div.left{
      transform: rotateY(-170deg)
    }
    .box:hover div.right{
      transform: rotateY(170deg)
    }
    .box span{
      position: absolute;
      width:20px;
      height:20px;
      border-radius: 50%;
      border:1px solid #fff;
    }
    .box span.circle_left{
      top:50%;
      right:0;
      transform: translateX(-2px);
    }
    .box span.circle_right{
      top:50%;
      left:0;
      transform: translateX(-2px);
    }
  </style>
</head>
<body>
  <div class="box">
    <img src="./images/chu.jpg" alt="">
    <div class="left">
      <span class="circle_left"></span>
      </div>
    <div class="right">
      <span class="circle_right"></span>
    </div>
    
    
  </div>
</body>
</html>